package nc.ui.report.config.rptinfo;

import nc.itf.capub.para.INCAABillType;
import nc.ui.capub.baseui.BaseController;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.vo.report.rptinfo.RptInfoAggVO;
import nc.vo.report.rptinfo.RptMainconfigVO;
import nc.vo.report.rptinfo.RptSubconfigVO;

public class RptInfoCtrl extends BaseController {

	public String getBillType() {
		return INCAABillType.CAA_RPT_CONFIG;
	}

	public String[] getBillVoName() {
		return new String[] { RptInfoAggVO.class.getName(),
				RptMainconfigVO.class.getName(), RptSubconfigVO.class.getName() };
	}

	@Override
	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}

	@Override
	public boolean isExistBillStatus() {
		return false;
	}

	@Override
public int[] getCardButtonAry() {
        
        return new int[]{
        		 IBillButton.Add,
                 IBillButton.Edit,
                 IBillButton.Line,
                 IBillButton.Delete,
                 IBillButton.Save,
                 IBillButton.Cancel,
                 IBillButton.Return,
                 IBillButton.Refresh,
                            };

		}

	@Override
	public int[] getListButtonAry() {
		 return new int[]{
                 IBillButton.Query,
                 IBillButton.Add,
                 IBillButton.Edit,
   	             IBillButton.Card,
   	             IBillButton.Refresh
};
	}

	@Override
	public boolean isShowCardTotal() {
		return false;
	}

	@Override
	public boolean isShowListTotal() {
		return false;
	}
	
}
